package com.ideaaedi.springcloud.jd.commonds.entity.user.vo.resp;

import com.ideaaedi.springcloud.jd.commonds.enums.user.UserTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 登录获取token resp
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 2021.0.1.A
 */
@Data
public class LoginRefreshTokenRespVO {
    
    /** token */
    @ApiModelProperty("token")
    private String token;
    
    /** 刷新token */
    @ApiModelProperty("刷新token")
    private String refreshToken;
    
    /** 用户id */
    @ApiModelProperty("用户id")
    private Long userId;
    
    /** 用户类型（TEMP_E-长期临时用户，TEMP_T-短期临时用户，NORMAL-正常用户, CLIENT_AK_SK-客户端ak/sk用户） */
    @ApiModelProperty("用户类型")
    private UserTypeEnum userType;
    
}
